<template>
    <div>
        <h4>Users Created</h4>
        <div class="number">
            {{numberOfUsers}}
        </div>
        <div class="btn">
            <button @click="getAllUsers()" type="button" class="btn btn-warning">获取所有用户</button>
        </div>
    </div>
</template>
<script>
export default {
    name: 'DisplayBoard',
    props: ['numberOfUsers'],
    method: {
        getAllUsers(){
            this.$emit('getAllUsers')
        }
    }
}
</script>